/**
 * Copyright 2018 asiainfo Inc.
 **/
package com.myz.rabbitmqspring.spring.event.service;

/**
 * 实现发送功能
 *
 * @author maoyz on 2018/8/28
 * @version: v1.0
 */
public interface EventTemplate {

    void send(String queueName, String exchangeName, Object eventContent) throws SendRefuseException;

    void send(String queueName, String exchangeName, Object eventContent, CodecFactory codecFactory) throws SendRefuseException;

}
